<?php if( $D->num_pages > 1 ) { ?>
	<tr class="page">
		<td colspan="10" height="35" align="center" valign="middle" bgcolor="#FFFFFF">
		<?php  echo  paginate_three($D->paging_url, $D->pg, $D->num_pages, 3); ?>
		</td>
	</tr>
<?php } ?>